package com.lzb.mngUser;

public class Pagination<T> {

	private long pageNo;
	private long pageSize;
	private T queryModel;
	public long getStartIndex() {
		return (pageNo-1) * pageSize;
	}
	public T getQueryModel() {
		return queryModel;
	}
	public void setQueryModel(T queryModel) {
		this.queryModel = queryModel;
	}
	public long getPageNo() {
		return pageNo;
	}
	public void setPageNo(long pageNo) {
		this.pageNo = pageNo;
	}
	public long getPageSize() {
		return pageSize;
	}
	public void setPageSize(long pageSize) {
		this.pageSize = pageSize;
	}
	
}
